package com.mars.module.admin.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.mars.common.request.PageRequest;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 签证申请请求对象 sys_visa_application
 *
 * @author mars
 * @date 2024-03-14
 */
@Data
@ApiModel(value = "签证申请对象")
@EqualsAndHashCode(callSuper = true)
public class SysVisaApplicationRequest extends PageRequest{



    /**
     * ID
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 申请人ID
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "申请人ID")
    private Long userId;

    /**
     * 滞留期间
     */
    @ApiModelProperty(value = "滞留期间")
    private String stayType;

    /**
     * 护照号码
     */
    @ApiModelProperty(value = "护照号码")
    private String passportNo;

    /**
     * 电话
     */
    @ApiModelProperty(value = "电话")
    private String telephone;

    /**
     * 访问国家
     */
    @ApiModelProperty(value = "访问国家")
    private String country;

    /**
     * 访问原因
     */
    @ApiModelProperty(value = "访问原因")
    private String reason;

    /**
     * 审核状态
     */
    @ApiModelProperty(value = "审核状态")
    private String status;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称")
    private String createByName;
}
